def RunTime(func):
    def wrapper(*args, **kwargs):
        import time
        start_time = time.time()
        result = func(*args, **kwargs)
        end_time = time.time()
        print('运行时间：%.20f 秒' % (end_time - start_time))
        return result
    return wrapper  # 确保这里返回了wrapper函数